class InviteRecord {
  InviteRecord({
      this.inviteCount, 
      this.inviteList,});

  InviteRecord.fromJson(dynamic json) {
    inviteCount = json['inviteCount'];
    if (json['inviteList'] != null) {
      inviteList = [];
      json['inviteList'].forEach((v) {
        inviteList?.add(InviteList.fromJson(v));
      });
    }
  }
  int? inviteCount;
  List<InviteList>? inviteList;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['inviteCount'] = inviteCount;
    if (inviteList != null) {
      map['inviteList'] = inviteList?.map((v) => v.toJson()).toList();
    }
    return map;
  }

}

class InviteList {
  InviteList({
    this.createTime,
    this.specialized,
    this.studentNumber,
    this.userName,});

  InviteList.fromJson(dynamic json) {
    createTime = json['createTime'];
    specialized = json['specialized'];
    studentNumber = json['studentNumber'];
    userName = json['userName'];
  }
  int? createTime;
  String? specialized;
  String? studentNumber;
  String? userName;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['createTime'] = createTime;
    map['specialized'] = specialized;
    map['studentNumber'] = studentNumber;
    map['userName'] = userName;
    return map;
  }

}